package com.tanhua.dubbo.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements java.io.Serializable {

    private static final long serialVersionUID = 6132380645958082334L;

    private ObjectId id; //主键id
    private Long vid; //自增长id
    private Long userId;//用户id

    private String soundUrl; //音频文件地址
    private Long created; //创建时间

    private Integer seeType; // 谁可以看，1-公开，2-私密，3-部分可见，4-不给谁看

}
